package com.ebuy.model;

public class PurchaseOrder {

	public static final int PENDING = 0;
	public static final int APPROVED = 1;
	public static final int REJECTED = 2;

	private Customer customer;
	private Product product;
	private int quantity;
	private int status; // 0- pending, 1-approved

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}
